package com.gcb.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "fengkong")
public class FengkongConfig {
    /**
     * 请求路径
     */
    private static String host;

    /**
     * 请求key
     */
    private static String key;

    /**
     * 请求secret
     */
    private static String secret;

    /**
     * PC播放公共课件使用的用户身份证
     * userCode
     */
    private static String userCode;

    public static String getHost() {
        return host;
    }

    public void setHost(String host) {
        FengkongConfig.host = host;
    }

    public static String getKey() {
        return key;
    }

    public void setKey(String key) {
        FengkongConfig.key = key;
    }

    public static String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        FengkongConfig.secret = secret;
    }

    public static String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        FengkongConfig.userCode = userCode;
    }
}
